package day10;

import java.io.FileReader;
import java.io.IOException;

/**
 * @author joker
 * @date 2022/4/20 0020 - 20:34
 */
public class FileTest3 {
    public static void main(String[] args) throws IOException {
        FileReader fr = new FileReader("hello.txt");
        int data;
        while (( data=fr.read())!=-1){
            System.out.print((char)data);

        }
    }


}
